package easim.examples;

import easim.net.Field;
import easim.net.Node;

public class Main2
{

  public static void main(String[] args) {
    Node1 node1 = new Node1(1);
    Node1 node2 = new Node1(2);
    Node1 node3 = new Node1(3);
    Node1.Message1 message1 = new Node1.Message1();
    Node1.Message1 message2 = new Node1.Message1();
    Field.add(node1, 100, 100);
    Field.add(node2, 100, 150);
    Field.add(node3, 1000, 700);
    node1.send(message1, Node.ADDRESS_ANY);
    node2.send(message2, 3);
  }

}
